Skip to content

added flags to context and refactored arg parsing#17

Merged
jdx merged 1 commit into
masterfrom
args-harden
Apr 29, 2015
Merged

added flags to context and refactored arg parsing#17
jdx merged 1 commit into
masterfrom
args-harden

Conversation

@jdx
Copy link
Copy Markdown
Contributor

@jdx jdx commented Apr 29, 2015

No description provided.

jdx pushed a commit that referenced this pull request Apr 29, 2015
added flags to context and refactored arg parsing
@jdx jdx merged commit 96c851f into master Apr 29, 2015
@jdx jdx deleted the args-harden branch April 29, 2015 22:11
jdx pushed a commit that referenced this pull request Jun 19, 2018
jdx pushed a commit that referenced this pull request Jun 19, 2018
trusted-ips: Aligning the error messaging with Dashboard
jdx added a commit that referenced this pull request Jun 19, 2018
jdx pushed a commit that referenced this pull request Jun 19, 2018
jdx pushed a commit that referenced this pull request Jun 19, 2018
Always suggest domains for sni & endpoint
jdx pushed a commit that referenced this pull request Jun 19, 2018
jdx pushed a commit that referenced this pull request Jun 19, 2018
Colorize access/index, remove header, and hides owner when it's an org app
jdx pushed a commit that referenced this pull request Jun 19, 2018
RasPhilCo added a commit that referenced this pull request Jul 12, 2018
eablack added a commit that referenced this pull request May 20, 2026
* refactor: use @heroku/sdk for pipelines commands

Replace direct Platform API calls in pipelines (list), pipelines:create,
pipelines:info (via disambiguate), and pipelines:promote with
@heroku/sdk equivalents:
- pipeline.list() / pipeline.info() / pipeline.create()
- pipelineCoupling.create()
- account.infoByUser() / team.info()
- promotePipeline() composition with onReleaseStream callback

The release-command output streaming previously implemented inline in
promote.ts now flows through the SDK's onReleaseStream hook, which
hands a web ReadableStream to the CLI to pipe to stdout. The local
poll/stream/2FA helpers are removed.

Promote.promotePipeline is exposed as a static reference so tests can
stub the SDK call (matches the prior Cmd.sleep convention).

Adds a local PipelineCreateBody type that extends @heroku/types'
PipelineCreateOpts with the undocumented `generation` request field
the platform accepts but the schema doesn't declare.

Adds tmp/ to the eslint ignore list.

* refactor: use SDK for destroy/update + adopt listPipelineApps composition

- pipelines:destroy now calls SDK pipeline.delete().
- pipelines:update now calls SDK pipelineCoupling.infoByApp() +
  pipelineCoupling.update().
- Drop the lib/api.ts listPipelineApps wrapper and have the four
  consumers (info, diff, transfer, promote) import the SDK
  composition directly. AppWithPipelineCoupling type also moves to
  the SDK; render-pipeline.ts widens it locally to satisfy hux.table's
  Record<string, unknown> row constraint.
- Removes the now-unused getAppFilter helper, listCouplings helper,
  and FILTERS_HEADER constant from lib/api.ts.
- Bumps @heroku/sdk to the eb/feat/list-pipeline-apps branch which
  exposes the new listPipelineApps composition.

* chore: point @heroku/sdk back at main now that #17 is merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant